#ifndef BIKE_DBUS_H
#define BIKE_DBUS_H

#include <QObject>
#include <QtDBus>

class BikeDbus : public QObject
{
Q_OBJECT
public:
    BikeDbus(QObject *parent = NULL);
    ~BikeDbus();

    QString getMapDataPath();
    QVariantMap getSensorData();

private slots:
    void onSensorDataChanged(QVariantMap data);

private:
    QDBusInterface *bikeIface;
}

#endif // BIKE_DBUS_H

